.box1{
    width: 100px;
    height: 100px;
    background-color: pink;
    background: url(../images/img1.jpg) no-repeat center center/cover;
}